import ElementPlus from 'element-plus'
import locale from 'element-plus/es/locale/lang/zh-cn';//中文
// import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import { createApp } from 'vue'
import 'element-plus/dist/index.css';
// import v3Crud from 'v3Crud'
// import v3Crud from '../dist/v3Crud.js'
// import v3Form from '../dist/v3Crud.js'

// console.log(v3Crud.v3Crud)
// import { tool } from '../dist/v3Crud'
// import request from 'v3Crud'
// console.log('app---', tool, request)
import '@/utils/browser_patch'
import App from './example/youHH/vueIF/index.vue'
const app = createApp(App)
/* for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    if (['Plus', 'Search', 'Link', 'Loading', 'Close', 'Refresh', 'Delete', 'Edit', 'ArrowDown'].includes(key)) {
        app.component(key, component)
    }
} */
app.use(ElementPlus,{ locale })
// app.use(v3Form)
// console.log('v3Crud----',v3Form)
app.mount('#app')
// app.provide('app', app)
